package com.school.movie.business.web.model.vo;

import java.io.Serializable;

/**
 * @author swift
 */
public class Manager implements Serializable {

    private int managerId;
    private String managerAccount;
    private String managerPassword;
    /**
     * 管理员类型，0普通管理员 ->即院线管理员 3 -> 整个影院后台系统的管理员
     */
    private Integer managerType;
    private String managerName;
    private Integer sex;
    private String contact;
    private int agentId;
    private int invalid;
    private String oldpwd;
    private String  headimg;
    private AgentInfo agent;

    public AgentInfo getAgent() {
        return agent;
    }

    public void setAgent(AgentInfo agent) {
        this.agent = agent;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    @Override
    public String toString() {
        return "id:" + managerId + ",登录账号:" + managerAccount + ",管理员:" + managerName + ",管理员类别:" + managerType + ",性别:" + sex + ",联系人:" + contact + ",影院id:" + agentId;
    }

    public String getOldpwd() {
        return oldpwd;
    }

    public void setOldpwd(String oldpwd) {
        this.oldpwd = oldpwd;
    }


    public int getInvalid() {
        return invalid;
    }

    public void setInvalid(int invalid) {
        this.invalid = invalid;
    }

    public int getManagerId() {
        return this.managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public String getManagerAccount() {
        return this.managerAccount;
    }

    public void setManagerAccount(String managerAccount) {
        this.managerAccount = managerAccount;
    }

    public String getManagerPassword() {
        return this.managerPassword;
    }

    public void setManagerPassword(String managerPassword) {
        this.managerPassword = managerPassword;
    }

    public Integer getManagerType() {
        return this.managerType;
    }

    public void setManagerType(Integer managerType) {
        this.managerType = managerType;
    }

    public String getManagerName() {
        return this.managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public Integer getSex() {
        return this.sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getContact() {
        return this.contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public int getAgentId() {
        return agentId;
    }

    public void setAgentId(int agentId) {
        this.agentId = agentId;
    }


}